.TH iterateyear 3  "November 14, 2018" "version 4.0.002" "LPJmL programmers manual"
.SH NAME
iterateyear \- year time loop for LPJmL
.SH SYNOPSIS
.nf
\fB#include "lpj.h"

void iterateyear(Outputfile *\fIoutput\fB,
                 Cell \fIgrid\fB[],
                 Input \fIinput\fB,
                 Real \fIco2\fB,
                 int \fInpft\fB, int \fIncft\fB,           
                 int \fIyear\fB,   
                 const Config *\fIconfig\fB
                );\fP

.fi
.SH DESCRIPTION
Function performs year time loop for LPJmL
The arguments of \fBiterateyear\fP are:
.TP
.I output
Pointer to initialized output data. \fIoutput\fP must be initialized by \fBfopenoutput()\fP.
.TP
.I grid
Cell grid array allocated and initialized by \fBnewgrid()\fP.
.TP
.I input
Input data initialized by \fBinitinput()\fP.
.TP
.I co2
Atmospheric CO2 concentration (ppmv).
.TP
.I npft
Number of natural plant functional types.
.TP
.I ncft
Number of crop plant functional types.
.TP
.I year
Simulation year
.TP
.I config
LPJmL configuration data. Must be read by \fBreadconfig()\fP.
.SH RETURN VALUE
None

.SH AUTHORS

For authors and contributors see AUTHORS file

.SH COPYRIGHT

(C) Potsdam Institute for Climate Impact Research (PIK), see COPYRIGHT file

.SH SEE ALSO
readconfig(3), fopenoutput(3), newgrid(3), initinput(3), getlanduse(3), getclimate(3), iterate(3)
